/**
 * Created by apple on 2017/7/30.
 */
import * as actionTypes from '../constants/userinfo'

const initialState={};
export function user1(state=initialState,action) {
  switch (action.type) {
    case actionTypes.USERINFO_LOGIN:
      return action.data;
    case actionTypes.UPDATE_CITYNAME:
      return action.data;
  }
}